package com.jesper.service;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jesper.mapper.RoleMapper;
import com.jesper.model.Role;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class RoleService extends ServiceImpl<RoleMapper, Role> {
    public List<String> getAut(Integer roleId) {
        List<String> aut = this.baseMapper.getAuthority(roleId);
        return aut;
    }
}
